Memory leak fix
authorparkrrrr <parkrrrr>
Tue, 21 Sep 2004 13:28:18 +0000 (13:28 +0000)
committerparkrrrr <parkrrrr>
Tue, 21 Sep 2004 13:28:18 +0000 (13:28 +0000)
xcsv.c

diff --git a/xcsv.c b/xcsv.c
index da695a1e825086ee53e4406c48b5cd9d3c182b45..93aa9ba2197983016700c29d5ebc207115ec1c11 100644 (file)
--- a/xcsv.c
+++ b/xcsv.c
@@ -471,6 +471,7 @@ void
 xcsv_setup_internal_style(const char *style_buf)
 {
        xcsv_file_init();
+       xcsv_destroy_style();
        xcsv_file.is_internal = !!style_buf;
        intstylebuf = style_buf;
 }